<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./templates/HeaderTopTemplate.xhtml"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://xmlns.jcp.org/jsf/core"
                xmlns:h="http://xmlns.jcp.org/jsf/html">

    <ui:define name="conteudo">
        <p:panel id="pnlConteudo" header="Logon">
        <h:panelGrid columns="2">
            <p:outputLabel for="txtLogin" value="Login:" styleClass="negrito"/>
            <p:inputText id="txtLogin" size="50" maxlength="30" value="#{usuarioLogonManagedBean.login}"/>
            <p:outputLabel for="txtSenha" value="Senha:" styleClass="negrito"/>
            <p:inputText id="txtSenha" type="password" size="50" maxlength="30" value="#{usuarioLogonManagedBean.senha}"/>
        </h:panelGrid>
        <h:panelGrid columns="2">
            <p:commandButton id="btnOK" value="OK" action="#{usuarioLogonManagedBean.onBotaoOKClick}" icon="ui-icon-check" />
            <p:button id="btnCancelar" value="Cancelar" href="/" icon="ui-icon-cancel" />
        </h:panelGrid>
        </p:panel>
    </ui:define>

</ui:composition>
